import * as dayjs from 'dayjs'

export function parseTimeTz(time) {
  return dayjs(time).format('YYYY-MM-DD HH:mm:ss')
}
export function ellipsis(val) {
  return val.length > 10 ? val.slice(0, 10) + '...' : val
}
